Stop unnecessarily scanning all files to report app configs#2854
Stop unnecessarily scanning all files to report app configs#2854pipecd-bot merged 5 commits intomasterfrom
Conversation
|
/kapetanios reload |
|
@nakabonne: Successfully loaded the latest Kapetanios configuration. |
|
Code coverage for golang is
|
nghialv
left a comment
There was a problem hiding this comment.
Looks neat! Good job!
Just some nits.
| if appInfo.Kind != app.Kind { | ||
| return false | ||
| } |
There was a problem hiding this comment.
Changing the Kind could cause unexpected behavior since the application is paired with a Cloud Provider selected while adding the app.
So I think that field should not be allowed to be changed. How do you think?
There was a problem hiding this comment.
Actually I feel the same way. Currently changing it via the web client is allowed, but few users use it possibly.
Co-authored-by: Le Van Nghia <[email protected]>
|
Code coverage for golang is
|
|
Code coverage for golang is
|
|
I changed to emit log when kind has been changed |
|
Thank you. So let's remove this too. |
|
Code coverage for golang is
|
|
The following ISSUES will be created once got merged. If you want me to skip creating the issue, you can use Details1. Make it possible to follow the ApplicationInfo field changesThis was created by todo plugin since "TODO:" was found in 1acc33e when #2854 was merged. cc: @nakabonne. |
|
@nghialv Fixed 👍 |
|
Nice. Well done. |
|
Code coverage for golang is
|
|
Nice work |
What this PR does / why we need it:
This PR mainly improves
appconfigreporterto:For more information about the first one, please visit #2838.
The second one is solved by caching the latest unregistered apps.
Which issue(s) this PR fixes:
Fixes #2838
Close #2837
Does this PR introduce a user-facing change?: